package cl.ncx.cmvrc.persistence.bean.recepcion;

import javax.ejb.EJBException;
import javax.ejb.Local;
import javax.ejb.Remote;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.jboss.logging.Logger;

@Stateless(mappedName=IRecepcionSession.JNDI_NAME)
@Local({RecepcionSessionLocal.class})
@Remote({RecepcionSessionRemote.class})

public class RecepcionSessionBean implements RecepcionSessionLocal, RecepcionSessionRemote {
	
	@PersistenceContext(unitName="cmvrcPU")
	private EntityManager entityManager;
	
	private final static Logger logger =  Logger.getLogger(RecepcionSessionBean.class);
	
	public void ingresaActaRecepcion() throws EJBException{
		try{			
			
			
		}catch (Exception e) {
			e.printStackTrace();
			throw new EJBException(e);
		}
	}
	
	public void modificaActaRecepcion() throws EJBException{
		try{			
			
			
		}catch (Exception e) {
			e.printStackTrace();
			throw new EJBException(e);
		}
	}
	
	public void anularActaRecepcion() throws EJBException{
		try{			
			
			
		}catch (Exception e) {
			e.printStackTrace();
			throw new EJBException(e);
		}
	}

}
